#userInfo {
    width: 100%;
    min-height: calc(100vh - 68px);
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 24px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.user-info-container {
    max-width: 800px;
    margin: 0 auto;
}

.user-basic-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.user-basic-card .ant-card-head {
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-color);
}

.user-basic-card .ant-card-head-title {
    color: var(--text-color);
    font-weight: 600;
}

.user-info-content {
    display: flex;
    gap: 32px;
    padding: 24px 0;
}

.avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
}

.avatar-section .ant-avatar {
    border: 3px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-section {
    flex: 1;
    min-width: 0;
}

.avatar-uploader {
    margin-top: 16px;
}

.avatar-uploader .ant-upload {
    border: 1px dashed var(--border-color);
    border-radius: 6px;
    background: var(--card-background);
    transition: all 0.3s ease;
}

.avatar-uploader .ant-upload:hover {
    border-color: var(--secondary-color);
}

/* 黑夜模式适配 */
body.dark-theme .user-basic-card {
    background: var(--card-background);
    border-color: var(--border-color);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

body.dark-theme .user-basic-card .ant-card-head {
    background: var(--primary-color);
    border-bottom-color: var(--border-color);
}

body.dark-theme .user-basic-card .ant-card-head-title {
    color: var(--text-color);
}

body.dark-theme .avatar-section .ant-avatar {
    border-color: var(--border-color);
}

body.dark-theme .avatar-uploader .ant-upload {
    background: var(--card-background);
    border-color: var(--border-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    #userInfo {
        padding: 16px;
    }

    .user-info-content {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .avatar-section {
        min-width: auto;
    }

    .info-section {
        width: 100%;
    }
}

/* 表单样式优化 */
.ant-form-item-label > label {
    color: var(--text-color);
    font-weight: 500;
}

.ant-descriptions-item-label {
    color: var(--text-color);
    font-weight: 500;
}

.ant-descriptions-item-content {
    color: var(--text-color);
}